package com.vcredit.creditcat.service;
import com.vcredit.creditcat.model.ProductLoanBindCard;
import com.vcredit.creditcat.persistence.base.ProductLoanBindCardMapper;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 
 **/
@Service
public class ProductLoanBindCardService {
	@Autowired
    private ProductLoanBindCardMapper mapper;
    
    public void insert(ProductLoanBindCard obj){
    	mapper.insert(obj);
    }
    
    public void update(ProductLoanBindCard obj){
    	mapper.update(obj);
    }
    
    public List<ProductLoanBindCard> findAll(){
		return mapper.findAll();
	}
	
	public List<ProductLoanBindCard> find(ProductLoanBindCard obj){
		return mapper.find(obj);
	}

	public List<ProductLoanBindCard> loanbindCardList(Long custId,
			Long productId) {
		return mapper.loanbindCardList(custId,productId);
	}
}